#ifndef SIGNALISATION_CLIENT_H_
#define SIGNALISATION_CLIENT_H_

#include "../file/file.h"
#include "../common/common.h"
return_t handler_cmd_response(char* buf,int sock, int sockdata);

/**
 * handling a response of a file cmd
 */
/*head* recv_fileHeader(int sock);*/

/**
 * handling a response of a ready cmd
 * also crate a file named fileNameRecived
 */
void recv_get_cmd(char *fileName, int sock);
int recv_msg(const char *pathname,int sock);
void cmd_neighbourhood_request();
#endif /* SIGNALISATION_CLIENT_H_ */
